<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	
	<link rel="stylesheet" href="gold/css/bootstrap.min.css">
	<link rel="stylesheet" href="gold/css/index.css" />
	<script src="gold/js/jquery.js"></script>
	<script src="gold/js/bootstrap.min.js"></script>

	<style type="text/css">
		.xia{
			margin-top: 55px;
		}
	</style>

  </head>
  
  <body>
    <div class="lefter xia">
		<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
		
				<div class="panel panel-default">
	    			<div class="panel-heading"  >
	      				<h4 class="panel-title">
	      					<a href="gold/#" target="_top" ><span class="glyphicon glyphicon-th-large" ></span> 菜单列表</a>
	      				</h4>
	    			</div>
	 		 	</div>
	 		 	
	  			<div class="panel panel-default">
	    			<div class="panel-heading"  >
	      				<h4 class="panel-title">
	      					<a href="getAllUserByPage.do" target="right"><span class="glyphicon glyphicon-user" ></span> 用户管理</a>
	      				</h4>
	    			</div>
	 		 	</div>
	 		 	
			  <div class="panel panel-default">
			    <div class="panel-heading"  >
			      <h4 class="panel-title">
			      	<a href="getAllGameTypeByPage.do" target="right"><span class="glyphicon glyphicon-th"></span> 游戏类型</a>
			      </h4>
			    </div>
			  </div>
			  
			  <div class="panel panel-default">
			    <div class="panel-heading">
			      <h4 class="panel-title">
			      	<a href="getAllGameByPage.do" target="right"><span class="glyphicon glyphicon-list"></span> 游戏列表</a>
			      </h4>
			    </div>
			  </div>
			  
			   <div class="panel panel-default">
			    <div class="panel-heading"  >
			      <h4 class="panel-title">
			      	<a href="getAllExchangeByPage.do" target="right"><span class="glyphicon glyphicon-transfer"></span>换算比例</a>
			      </h4>
			    </div>
			  </div>
	  
			   <div class="panel panel-default">
			    <div class="panel-heading"  >
			      <h4 class="panel-title">
			      	<a href="getAllCardByPage.do" target="right"><span class="glyphicon glyphicon-barcode"></span>密保卡管理</a>
			      </h4>
			    </div>
			  </div>
	  
			  <div style="display: none" class="panel panel-default">
			    <div class="panel-heading" role="tab" id="headingThree">
			      <h4 class="panel-title">
			        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapse5" aria-expanded="false" aria-controls="collapseThree">
			          <span class=""></span> 日志
			        </a>
			      </h4>
			    </div>
			    <div id="collapse5" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
			      <div class="panel-body">
			      <ul class="nav nav-sidebar"> 
			            <li ><a href="gold/roleManage.jsp" target="right" style="display: none">权限管理</a></li>
			            <li ><a href="gold/loginLog.jsp" target="right" style="display: none">登录日志</a></li>
			            <li ><a href="toDoLogJsp.do" target="right">操作日志</a></li>
			          </ul>
			      </div>
			    </div>
			  </div>
			  
		</div>
	</div>
	<script>
	   $(function(){
	      $('a[data-toggle="tab"]').on('shown.bs.tab', function (e) {
	      // 获取已激活的标签页的名称
	      var activeTab = $(e.target).text(); 
	      // 获取前一个激活的标签页的名称
	      var previousTab = $(e.relatedTarget).text(); 
	      $(".active-tab span").html(activeTab);
	      $(".previous-tab span").html(previousTab);
	   	});
	   });
   </script>
    
  </body>
  	
</html>
